import Vue from "vue";
import moment from "moment";
moment.locale('zh-CN')
Vue.filter('relativeTime', (data) => {
    return moment(data).fromNow()
})